package com.newupbank.xmlparser;

public class XmlParserConfig {

	public XmlParserConfig( ) {
	}

	public XmlParserConfig(String src, String tag, String type) {
		this.src = src;
		this.tag = tag;
		this.type = type;
	}

	public static final String Type1N = "1N";
	public static final String TypeN = "N";
	public static final String TypeNN = "NN";
	public static final String TypeRowNum = "row_num";

	// src相当于xPath
	private String src;

	// tag标识第几列
	private String tag;

	// 支持 1N N
	private String type;

	public String getType() {
		return type;
	}

	@Override
	public String toString() {
		return "XmlParserConfig [src=" + src + ", tag=" + tag + ", type=" + type + "]";
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getSrc() {
		return src;
	}

	public void setSrc(String src) {
		this.src = src;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

}
